package com.airticketbooking.service;


import com.airticketbooking.common.domain.PageQuery;
import com.airticketbooking.dto.OrderDTO;
import com.airticketbooking.po.Order;
import com.airticketbooking.vo.OrderVO;
import com.github.pagehelper.Page;

import java.util.List;


public interface OrderService {
	OrderVO getOrderVOById(Integer orderId);

	List<Order> querylist(OrderDTO orderDTO);

	void createOrder(List<Integer> ticketId);

	List<Order> getOrdersQuery(OrderDTO orderDTO);

	void modifyOrder(Integer orderId, Integer oldTicketId, Integer newTicketId);

	void confirmOrder(Integer orderId, Integer discountTypeId);

	void confirmOrder(Integer orderId, Integer discountTypeId, Integer mortgagePoint);

	void cancelOrder(Integer orderId, Integer ticketId);


}
